#%RAML 0.8
---
title: Sample API
version: v1
baseUri: https://{host}.sample.com:{port}/{path}
baseUriParameters:
    host:
        displayName: Host
        description: host name
        type: string
        minLength: 5
        maxLength: 10
        pattern: '[a-z]*'
    port:
        type: integer
        minimum: 1025
        maximum: 65535
    path:
        type: string
        enum: [one,two,three]
documentation:
    - title: Home
      content: |
          Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
          eiusmod tempor incididunt ut labore et dolore magna...
    - title: section
      content: section content
protocols: [HTTP, HTTPS]

/FindOffers/{version}:
    displayName: Root resource
    description: Root resource description
    head:
        protocols: [HTTP]
    post:
        description: FindOffers
        body:
            application/json:
                schema: !include test
        responses:
            200:
                body:
                    application/json:
                        example: '{ "input": "hola" }'
